import { defineStore } from 'pinia'
import {
	
	requestAreaList,
	AreaInfo
}from '../service/area'


export default defineStore('areaStore',()=>{
	
	
	const areaList = async (area: Partial<AreaInfo>) => {
		const res = await requestAreaList(area)
		return res;
	}
	
	return {
		areaList
	}
	
})